package rewind.show.es.entity;

import lombok.Data;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

@Data
@Document(indexName = "post", replicas = 1, shards = 1)
public class PostEntity {

    @Field(type = FieldType.Auto)
    private Long id;
}
